home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3793 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.1 KB

  1. Path: www.cybercity.dk!usenet
  2. From: ccc6004@vip.cybercity.dk (Hans Henrik Happe)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: doubling pixels horizontally
  5. Date: 24 Feb 1996 15:26:35 GMT
  6. Organization: CyberCity of Denmark
  7. Message-ID: <2379.6627T121T1144@vip.cybercity.dk>
  8. References: <4f4ibc$gl9@news.cs.tu-berlin.de> <591.6610T1165T2102@login.eunet.no><1045.6611T753T2256@vip.cybercity.dk><4faoe1$47@sunsystem5.informatik.tu-muenchen.de><2991.6612T1034T625@vip.cybercity.dk><576.6613T1070T1730@login.eunet.no><1257.6614T57T922@vip.cybercity.dk><1225.6615T1229T800@login.eunet.no><1140.6616T51T1538@vip.cybercity.dk><3764.6622T781T478@ifi.uio.no>
  9.     <4gbkq8$104@sunsystem5.informatik.tu-muenchen.de> <2038.6625T1088T2898@ifi.uio.no>
  10. NNTP-Posting-Host: 194.16.56.120
  11. X-Newsreader: THOR 2.22 (Amiga;TCP/IP) *UNREGISTERED*
  12.  
  13.  
  14. Ludvig Pedersen ( ludvigp@ifi.uio.no ) wrote:
  15.  
  16. >>: How are you going to handle 64 pixels width sprites?
  17. >>by hacking fmode...
  18.  
  19. No hopefully not... I hope the system (OS3+) can provide my with a 64bit sprite (Haven't
  20. really looked into this)???
  21.  
  22. >>: What about double pixel height?
  23. >>by hacking fmode & modulos..
  24. >>: What about multisync?
  25. >>no way! unless you are a mega intuition-monitor-expert and maybe
  26. >>write a new ghost-look routine for each kickstart-revision :\
  27. > Its possible without being an expert.
  28.  
  29. Choose a 320x128 pal resolution or you get a wired look - it really not my
  30. problem? It will work on another screen (DBLPAL, DBLNTSC) but it will look
  31. strange. The tougth coders would make a scalable rutine like Gloom Deluxe on
  32. CyberGfx.
  33.  
  34. > You have to set up 2 different UserCopperList.
  35. > One for normal modes (PAL/NTSC etc) and one for double-scan modes.
  36. > (DBLPAL/DBLNTSC)
  37.  
  38. You don't even need to use the UserCopperList. All you have to do is to open a
  39. Dual playfield screen, and then use VideoControl to turn of the dual playfield bit
  40. in bplcon0 (tag VC_DUALPF_Disable). Now you have a way of scrolling the even and odd
  41. bitplanes independently and thats what you need for a blitterscreen. Mask out the unwanted
  42. pixels with system sprites and flip every frame to make it look like a real 2x2. This way
  43. you don't have to scroll each line idependently.
  44.  
  45. > No real problem. If you use a UserCopperlist.
  46.  
  47. UserCopperList's can be a problem if you have to change/calculate it for each new frame
  48. because a UserCopperList is in fastmem if possible and is first merged with the other copper
  49. lists (sprite, bitplane) when MakeVPort() and MrgCop() is called. This must take some
  50. time - I don't now how much ???
  51.  
  52. If you use UserCopperLists you really should look into the autodocs for VideoControl, look
  53. what I found:
  54.  
  55.     VC_IntermediateCLUpdate
  56.     VC_IntermediateCLUpdate_Query
  57.              When set, graphics will update the intermediate copper
  58.          lists on colour changes. When FALSE, graphics won't update
  59.              the intermediate copperlists, so ScrollVPort(),
  60.              ChangeVPBitMap() and colour loading functions will be faster.
  61.              This value is TRUE by default. (V40)
  62.  
  63. This means CopperList rendering will become faster. Thats all what I got for
  64. now in exploring the Amiga system. Fill me in on any interresting results you
  65. have got, Thanks!
  66.  
  67.  
  68.